package com.hqyj.service;

import com.hqyj.pojo.BuyCar;
import com.hqyj.pojo.Item;
import com.hqyj.pojo.R;

import javax.servlet.http.HttpServletRequest;

public interface BuyCarService {

    //添加购物车
    R addBuyCar(Item item, HttpServletRequest request);
    //查询我的购物车
    R showBuyCar(HttpServletRequest request);
    //删除购物车的一条数据
    R delBuyCar(Integer goodsId,HttpServletRequest request);
    //修改购物车
    R updateBuyCar(BuyCar buyCar,HttpServletRequest request);

}
